package com.hospital.dictionary.module.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hospital.dictionary.module.entity.StaffDict;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lvyao
 * @since 2022-02-14
 */
public interface StaffDictService extends IService<StaffDict> {

    IPage<StaffDict> getUserByRoleId(Page<StaffDict> page, String roleId, String username);
    boolean resetPassword(String username, String oldPassword, String newPassword, String confirmPassword);

}
